﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace senac.webService.retornoGrid
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            #region Realizando consulta no WebService
            wsService.Mira ws = new wsService.Mira();

            this.gvRetornoWebService.DataSource = ws.PesquisaPessoaFisicaPorCPF("08789257405");

            //gvRetornoWebService.DataSource = ws.PesquisaPessoaFisicaPorCPF("08789257405");
            gvRetornoWebService.DataBind();
            #endregion
        }
    }
}